﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Runtime.Serialization;

namespace tscsclassgen
{
    [DataContract]
    public class MemberDef
    {
        [DataMember]
        public string TypeName { get; set; }
        [DataMember]
        public string MemberName { get; set; }
    }
    [DataContract]
    public class ClassDef
    {
        [DataMember]
        public string SuperClassName { get; set; }
        [DataMember]
        public string ThisClassName { get; set; }
        [DataMember]
        public List<TypeNamePair> ExtraNames { get; set; }
        [DataMember]
        public List<MemberDef> Members = new List<MemberDef>();
        public override string ToString()
        {
            return ThisClassName;
        }
    }
}
